<template>
    <div>
        <span>我是子组件：</span>
        <input type="text" v-model="model">
    </div>
</template>

<script setup lang="ts">
const model = defineModel()
</script>

<style scoped>

</style>